package net.wofly.sale.activity.service;

import java.util.List;

import net.wofly.sale.activity.domain.ActivityGift;

public interface IActivityGiftService {

	/**
	 * 增加或修改
	 * 
	 * @param entity
	 * @return
	 */
	public ActivityGift save(ActivityGift entity);

	/**
	 * 删除
	 * 
	 * @param entity
	 * @return
	 */
	public void delete(ActivityGift entity);

	/**
	 * 根据主键ID删除
	 * 
	 * @param key
	 * @return
	 */
	public void delete(String key);

	/**
	 * 根据主键查询
	 * 
	 * @param key
	 * @return
	 */
	public ActivityGift findOne(String key);
	
	public List<ActivityGift> save(List<ActivityGift> entityList) ;
	
	List<ActivityGift> findByActivityID(String avtivityID);
	
	void deleteByActivityID(String avtivityID);

}
